.PHONY:all
all:parser debug httpserver
parser:parser.cc
	g++ -o $@ $^ -lboost_system -lboost_filesystem -std=c++11
debug:debug.cc
	g++ -o $@ $^ -ljsoncpp -std=c++11
httpserver:httpserver.cc
	g++ -o $@ $^ -ljsoncpp -lpthread -std=c++11

.PHONY:clean
clean:
	rm -rf parser debug httpserver